import request from '@/utils/request';

export const listDbTable = (params: any) => {
  return request({
    url: '/online/db/table/list',
    method: 'get',
    params: params
  });
}

export const listDbColumn = (tableName: any) => {
  return request({
    url: '/online/db/column/list',
    method: 'get',
    params: { tableName }
  });
}
